package application.util;


public class AppUtils {
    public static Integer randomInt(int min, int max) {
        return (int) (Math.random() * (max - min) + min);
    }

    public static String randomString(int min, int max) {
        int num = randomInt(min, max);
        byte b[] = new byte[num];
        for (int i = 0; i < num; i++) {
            b[i] = (byte) randomInt('a', 'z').intValue();
        }
        return new String(b);
    }
}
